<?php
class Conf{

	static $debug = 1;

static $databases = array(
			'default' => array(
			'host'  => 'localhost',
			'database' => 'brocante',
			'login' => 'root',
			'password' => '')
);
}

static $admin = 'cockpit';
static $perso = 'perso';

Router::prefix($admin,'admin');
Router::prefix($perso,'perso');
Router::connect('/','accueil/index/0');
Router::connect('actus','actus/index');
Router::connect($admin,$admin.'/admins/index');
Router::connect($perso,$perso.'/persos/index');
//Router::connect('brocantes','brocantes/index');
Router::connect('contacts','contacts/index');
//Router::connect('actus/:slug-:idActualite','actus/view/idActualite:([0-9]+)/slug:([a-z0-9\-]+)');
Router::connect('actu/:action','actus/:action');
//Router::connect('broc/:action','brocantes/:action');